﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    /// <summary>
    /// Log:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Log
    {
        public Log()
        { }
        #region Model
        private int _logid;
        private int? _eventid;
        private int _priority;
        private string _severity;
        private string _title;
        private DateTime _timestamp;
        private string _machinename;
        private string _appdomainname;
        private string _processid;
        private string _processname;
        private string _threadname="";
        private string _win32threadid;
        private string _message;
        private string _formattedmessage="";
        /// <summary>
        /// 
        /// </summary>
        public int LogID
        {
            set { _logid = value; }
            get { return _logid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? EventID
        {
            set { _eventid = value; }
            get { return _eventid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Priority
        {
            set { _priority = value; }
            get { return _priority; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Severity
        {
            set { _severity = value; }
            get { return _severity; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime Timestamp
        {
            set { _timestamp = value; }
            get { return _timestamp; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MachineName
        {
            set { _machinename = value; }
            get { return _machinename; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string AppDomainName
        {
            set { _appdomainname = value; }
            get { return _appdomainname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProcessID
        {
            set { _processid = value; }
            get { return _processid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProcessName
        {
            set { _processname = value; }
            get { return _processname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ThreadName
        {
            set { _threadname = value; }
            get { return _threadname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Win32ThreadId
        {
            set { _win32threadid = value; }
            get { return _win32threadid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Message
        {
            set { _message = value; }
            get { return _message; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FormattedMessage
        {
            set { _formattedmessage = value; }
            get { return _formattedmessage; }
        }
        #endregion Model

    }
}
